package com.example.testrecorder.domain;

import org.litepal.crud.LitePalSupport;

import java.util.Date;

/**
 * @author Yingyong Lao
 * 创建时间 2021/5/27 20:34
 * @version 1.0
 */
public class Issue extends LitePalSupport {
    private int id;
    private int user_id;//外键
    private String title;//问题的标题
    private String content;//问题的内容（具体描述）
    private Date  proposeTime;//问题的提出时间
    private Date updateTime;//问题的更新时间
    private String solved;//问题是否已解决
    private String severity;//问题的严重程度，取值低、中、高
    private String imgPath;//图片存储在手机上的路径
    private String frequency;//问题发生的频率
    private String platform;//平台，IOS、Android或者是两个平台上都有问题

    public Issue() {
    }



    public Issue(int user_id, String title, String content, Date proposeTime, Date updateTime, String solved, String severity, String imgPath, String frequency, String platform) {
        this.user_id = user_id;
        this.title = title;
        this.content = content;
        this.proposeTime = proposeTime;
        this.updateTime = updateTime;
        this.solved = solved;
        this.severity = severity;
        this.imgPath = imgPath;
        this.frequency = frequency;
        this.platform = platform;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getProposeTime() {
        return proposeTime;
    }

    public void setProposeTime(Date proposeTime) {
        this.proposeTime = proposeTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getSolved() {
        return solved;
    }

    public void setSolved(String solved) {
        this.solved = solved;
    }

    public String getSeverity() {
        return severity;
    }

    public void setSeverity(String severity) {
        this.severity = severity;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    @Override
    public String toString() {
        return "Issue{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", proposeTime=" + proposeTime +
                ", updateTime=" + updateTime +
                ", solved='" + solved + '\'' +
                ", severity='" + severity + '\'' +
                ", imgPath='" + imgPath + '\'' +
                ", frequency='" + frequency + '\'' +
                ", platform='" + platform + '\'' +
                '}';
    }
}
